package cn.funeralobjects.test.enums;

import cn.funeralobjects.model.EnumNumberPair;

/**
 * @author FuneralObjects
 * Create date: 2020/4/15 10:01 AM
 */
public enum Grade implements EnumNumberPair<Grade, Integer> {
    ONE(1),
    TWO(2),
    THREE(3),
    FOUR(4),
    FIVE(5),
    SIX(6),
    SEVEN(7),
    EIGHT(8),
    NINE(9),
    TEN(10);

    private Integer number;

    Grade(Integer num) {
        this.number = num;
    }

    @Override
    public Integer getNumber() {
        return number;
    }
}
